package com.hongdee.crm.average.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by dell on 2017/6/8.
 */
@Entity
@Table(name = "T_CRM_AVERAGE_MAINTAIN")
public class TCrmAverageMaintainCarEntity extends BaseEntity{
    //预测年
    @Column(name = "year",length = 32,columnDefinition = "VARCHAR(32) COMMENT'预测年'")
    private String year;
    //车系
    @Column(name = "car_type",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车系'")
    private String carType;
    //车龄
    @Column(name = "car_age",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车龄'")
    private String carAge;
    //车牌
    @Column(name = "plate_num",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车牌'")
    private String plateNum;
    //VIN
    @Column(name = "vin",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车架号'")
    private String vin;
    //保养日期开始
    @Column(name = "maintain_first",length = 22,columnDefinition = "BIGINT COMMENT'保养日期开始'")
    private Long maintainDate;
    //保养日期结束
    @Column(name = "maintain_end",length = 22,columnDefinition = "BIGINT COMMENT'保养日期结束'")
    private Long maintainEnd;

    public Long getMaintainDate() {
        return maintainDate;
    }

    public void setMaintainDate(Long maintainDate) {
        this.maintainDate = maintainDate;
    }

    public Long getMaintainEnd() {
        return maintainEnd;
    }

    public void setMaintainEnd(Long maintainEnd) {
        this.maintainEnd = maintainEnd;
    }

    //保养里程
    @Column(name = "maintain_mile",length = 32,columnDefinition = "VARCHAR(32) COMMENT'保养里程'")
    private  String maintainMile;

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getCarAge() {
        return carAge;
    }

    public void setCarAge(String carAge) {
        this.carAge = carAge;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getMaintainMile() {
        return maintainMile;
    }

    public void setMaintainMile(String maintainMile) {
        this.maintainMile = maintainMile;
    }
}
